POSITION SOUND

This command will position the specified 3D sound in 3D space.

  Syntax
POSITION SOUND Sound Number,X,Y,Z
  Parameters
Sound Number
Integer
The sound number
X
Float
The x position
Y
Float
The y position
Z
Float
The z position

  Returns

This command does not return a value.

  Description

The 3D sounds you hear are calculated based on the position of the sound and the listener.

  Example Code
cls
load sound "man.wav",1
play sound 1
position sound 1,100,100,-500
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index